package com.zpl.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zpl.order.entity.Order;
import com.zpl.order.entity.dto.OrderAllKeyWordDTO;
import com.zpl.order.entity.dto.OrderKeyWordDTO;
import com.zpl.order.entity.vo.OrderAllVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    List<OrderAllVO> getOrderAllList(OrderAllKeyWordDTO orderAllKeyWordDTO);
    int getOrderAllTotal (OrderAllKeyWordDTO orderAllKeyWordDTO);
    List<Order> getOrderByDayandStatus(OrderKeyWordDTO orderKeyWordDTO);
    int getOrderTotal(OrderKeyWordDTO orderKeyWordDTO);
}
